Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to TypeScript 5.6.3 #1013

Merged
merged 1 commit into from
Nov 5, 2024
Merged

Conversation

timostamm
Copy link
Member

No description provided.

@@ -370,12 +370,12 @@ class ReflectMapImpl<K, V> implements ReflectMap<K, V> {
has(key: K) {
return Object.prototype.hasOwnProperty.call(this.obj, mapKeyToLocal(key));
}
*keys() {
*keys(): MapIterator<K> {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The inferred generator type no longer matches the built-in ReadonlyMap. We have to add an explicit return type. Same as a couple of other places. This is unlikely to cause issues, and should be covered by the typescript-compat tests.

@timostamm timostamm merged commit cf456b5 into main Nov 5, 2024
22 checks passed
@timostamm timostamm deleted the tstamm/Update-to-TypeScript-5.6.3 branch November 5, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants